polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
});

polkit.addRule(function(action, subject) {
        if (action.id.indexOf("org.freedesktop.udisks") == 0) {
                return polkit.Result.YES;
        }
})
